package com.bkgy.modular.tbmodelpdiset.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bkgy.modular.tbmodelpdiset.entity.TbModelPdiSet;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TbModelPdiSetMapper extends BaseMapper<TbModelPdiSet> {
    /**
     * 分页条件查询
     * @param pageIndex
     * @param pageSize
     * @param condition
     * @return
     */
    List<TbModelPdiSet> findByPage(
            @Param("pageIndex") Integer pageIndex,
            @Param("pageSize") Integer pageSize,
            @Param("condition") Object condition);

    /**
     * 统计数据数量
     * @param condition
     * @return
     */
    Integer findByDataCount(@Param("condition") Object condition);

    List<TbModelPdiSet> findByPage2130(
            @Param("pageIndex") Integer pageIndex,
            @Param("pageSize") Integer pageSize,
            @Param("condition") Object condition);

    Integer findByData2130Count(@Param("condition") Object condition);
}
